From Andrew Kirmse: fix intermittent Garmin USB problem on Windows.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 2 Jun 2005 23:20:36 +0000 (23:20 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 2 Jun 2005 23:20:36 +0000 (23:20 +0000)
gpsbabel/jeeps/gpsserial.c

index 9e8eb41adea18d749e5d2a79839b0f82c15e892c..4883b93a36a16c0b90f405a80e13c9f8fdd43806 100644 (file)
@@ -178,6 +178,9 @@ int32 GPS_Serial_Chars_Ready(int32 fd)
 
 int32 GPS_Serial_Wait(int32 fd)
 {
+
+       if (gps_is_usb) return 1;
+
        /* Wait a short time before testing if data is ready.
         * The GPS II, in particular, has a noticable time responding
         * with a response to the device inquiry and if we give up on this